import html, \
    mml, \
    rdf, \
    srx, \
    srj, \
    vrx, \
    vrj, \
    json

MODS = (
    html,
    rdf,
    mml,
    srx,
    srj,
    vrx,
    vrj,
    json,
)


EXTENSIONS_MAP = {}

for m in MODS:
    if hasattr(m,'EXTENSIONS_MAP'):
        EXTENSIONS_MAP.update(m.EXTENSIONS_MAP)

# cleanup     
del MODS
del html, \
    rdf, \
    mml, \
    json
        
#OLD = {
#    'html'  : 'text/html',
#    'mml'   : 'application/myelin+xml',
#    'rdf'   : 'application/rdf+xml',
#    'xhtml' : 'application/xhtml+xml',
#    'nt'    : 'text/rdf+nt',
#    'n3'    : 'text/rdf+n3',
#    'srx'   : 'application/sparql+xml',
#    'srj'   : 'application/sparql+json',
#    'vrx'   : 'application/versa+xml',
#    'vrj'   : 'application/versa+json',
#    'fo'    : 'application/xsl-fo+xml',
#}